ffmpeg.git
3 years agoslicethread: Limit the automatic number of threads to 16
Martin Storsjö [Mon, 5 Sep 2022 12:17:56 +0000 (15:17 +0300)]
slicethread: Limit the automatic number of threads to 16

This matches a similar cap on the number of automatic threads
in libavcodec/pthread_slice.c.

On systems with lots of cores, this fixes a couple fate failures
in 32 bit mode on such machines (where spawning a huge number of
threads runs out of address space).

Signed-off-by: Martin Storsjö <martin@martin.st>
Gbp-Pq: Name 0002-slicethread-Limit-the-automatic-number-of-threads-to.patch

3 years agoavcodec/arm/sbcenc: avoid callee preserved vfp registers
James Cowgill [Sun, 11 Aug 2019 15:50:56 +0000 (16:50 +0100)]
avcodec/arm/sbcenc: avoid callee preserved vfp registers

When compiling FFmpeg with GCC-9, some very random segfaults were
observed in code which had previously called down into the SBC encoder
NEON assembly routines. This was caused by these functions clobbering
some of the vfp callee saved registers (d8 - d15 aka q4 - q7). GCC was
using these registers to save local variables, but after these
functions returned, they would contain garbage.

Fix by reallocating the registers in the two affected functions in
the following way:
 ff_sbc_analyze_4_neon: q2-q5 => q8-q11, then q1-q4 => q8-q11
 ff_sbc_analyze_8_neon: q2-q9 => q8-q15

The reason for using these replacements is to keep closely related
sets of registers consecutively numbered which hopefully makes the
code more easy to follow. Since this commit only reallocates
registers, it should have no performance impact.

Signed-off-by: James Cowgill <jcowgill@debian.org>
Gbp-Pq: Name 0001-avcodec-arm-sbcenc-avoid-callee-preserved-vfp-regist.patch

3 years agoffmpeg (7:5.1.1-2) unstable; urgency=medium
Sebastian Ramacher [Fri, 16 Sep 2022 21:50:22 +0000 (22:50 +0100)]
ffmpeg (7:5.1.1-2) unstable; urgency=medium

  * debian/rules: Disable filter-overlay_yuv420p10 on all BE architectures
    (Closes: #1019133)
  * debian/: Enable librav1e support
  * debian/patches: Apply upstream patch to limit automatic number of threads
    to 16

[dgit import unpatched ffmpeg 7:5.1.1-2]

3 years agoImport ffmpeg_5.1.1-2.debian.tar.xz
Sebastian Ramacher [Fri, 16 Sep 2022 21:50:22 +0000 (22:50 +0100)]
Import ffmpeg_5.1.1-2.debian.tar.xz

[dgit import tarball ffmpeg 7:5.1.1-2 ffmpeg_5.1.1-2.debian.tar.xz]

3 years agoImport ffmpeg_5.1.1.orig.tar.xz
Sebastian Ramacher [Sat, 3 Sep 2022 07:46:14 +0000 (08:46 +0100)]
Import ffmpeg_5.1.1.orig.tar.xz

[dgit import orig ffmpeg_5.1.1.orig.tar.xz]